<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%
   if(request.getSession().getAttribute("user")==null){
	   request.getRequestDispatcher("login.jsp").forward(request, response);
   }

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/main.css" />
<title></title>
</head>
<body class="top_bg">
	<h1>学生信息管理系统</h1>
	<p>
		欢迎你, <span><%=request.getSession().getAttribute("user")%>
		</span>
	</p>
</body>
</html>
